imx: mx7: implement functions to boot auxiliary core
authorPeng Fan <[email protected]>
Thu, 28 Jan 2016 08:55:07 +0000 (16:55 +0800)
committerStefano Babic <[email protected]>
Sun, 21 Feb 2016 10:46:26 +0000 (11:46 +0100)
commit83703a1ccf2fda45503e161aad7231c82e411034
tree1d0194be1858af6c1f5fa2fca760678464f198e0
parent3fe0b104604e267aadc8d9197097421cc02ca103
imx: mx7: implement functions to boot auxiliary core

Implement arch_auxiliary_core_up and arch_auxiliary_core_check_up.

arch_auxiliary_core_check_up is used to check whether M4 is running
or not. arch_auxiliary_core_up is to boot M4 core, the m4 core will
use the pc and stack which is set in arch_auxiliary_core_up to set R15
and R13 register and boot.

Signed-off-by: Ye.Li <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
arch/arm/cpu/armv7/mx7/soc.c
arch/arm/include/asm/arch-mx7/imx-regs.h